/**
 * Project Name:fastPlat
 * File Name:Properties.java
 * Package Name:com.fast.cms.model.admin
 * Date:2015年3月17日上午11:38:30
 * Copyright (c) 2015, lsflu@126.com All Rights Reserved.
 *
 */

package com.fast.cms.model.system;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

/**
 * ClassName:Properties <br/>
 * 用途: 属性表. <br/>
 * 开发人员：lushuifa http://lushuifa.iteye.com/ 邮箱:lsflu@126.com
 * 
 * @version
 * @since JDK 1.6
 * @see Date: 2015年3月17日 上午11:38:30 <br/>
 */
@Entity
@Table(name = "T_dv_Properties")
@DynamicInsert(true)
@DynamicUpdate(true)
public class Properties  implements java.io.Serializable{
	/**
	 * serialVersionUID:提示:.
	 * @since JDK 1.7
	 */
	private static final long serialVersionUID = -1194087527951676352L;
	// =========================head===================================
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false, length = 10)
	private int id = 0;
	private String uuid = "";//唯一id
	// =========================body===================================
	private String columnName = "";//属性栏目，如产品属性
	private String propTitle = "";// 属性id，如title,必需是英文
	private String propName = "";//  属性名字
	private String inputType = "";// 输入类型：textbox,checkbox,radio
	private String defaultV = "";//  默认值
	private String missmsg = "";//   无输入提示信息
	private int    required = 0;//   是否必填
	private String remark = "";//    备注

	// =========================foot===================================
	// 操作信息
	private int    editorId = 0;//  编辑人Id
	private String editorName = "";// 编辑人
	private String editTime = "";// 编辑时间
	private int    createrId = 0;// 编辑人Id
	private String creater = "";//  编辑人
	private String createTime = "";

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getPropTitle() {
		return propTitle;
	}

	public void setPropTitle(String propTitle) {
		this.propTitle = propTitle;
	}

	public String getPropName() {
		return propName;
	}

	public void setPropName(String propName) {
		this.propName = propName;
	}

	public String getInputType() {
		return inputType;
	}

	public void setInputType(String inputType) {
		this.inputType = inputType;
	}

	public String getDefaultV() {
		return defaultV;
	}

	public void setDefaultV(String defaultV) {
		this.defaultV = defaultV;
	}

	public String getMissmsg() {
		return missmsg;
	}

	public void setMissmsg(String missmsg) {
		this.missmsg = missmsg;
	}

	public int getRequired() {
		return required;
	}

	public void setRequired(int required) {
		this.required = required;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getEditorId() {
		return editorId;
	}

	public void setEditorId(int editorId) {
		this.editorId = editorId;
	}

	public String getEditorName() {
		return editorName;
	}

	public void setEditorName(String editorName) {
		this.editorName = editorName;
	}

	public String getEditTime() {
		return editTime;
	}

	public void setEditTime(String editTime) {
		this.editTime = editTime;
	}

	public int getCreaterId() {
		return createrId;
	}

	public void setCreaterId(int createrId) {
		this.createrId = createrId;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
}
